package com.workflow.engine.eb.steps.al;

import com.workflow.engine.core.flow.IStep;
import com.workflow.engine.core.flow.StepState;
import com.workflow.engine.eb.util.LuaProcess;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**
 * 腾讯登录请求
 * Created by houjinxin on 2017/2/23.
 */

public class AlipayLogin implements IStep {

    private static final Logger logger = LoggerFactory.getLogger(AlipayLogin.class);

    @Override
    public StepState run(Map<String, Object> context) throws Exception {
        LuaProcess process = new LuaProcess("C:\\Users\\Administrator\\Desktop\\Release");
        process.Create("http");
        process.Send("okokok!!你好，我也好。");
        String receive=process.Receive();
        System.out.println(receive);
        return null;
    }

}
